package com.zsc.edu.testbroadcastreceiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.widget.Toast;

public class BootBroadcastReceiver extends BroadcastReceiver {


    @Override
    public void onReceive(Context context, Intent intent) {
        Toast.makeText(context, "接收到系统启动的广播", Toast.LENGTH_LONG).show();

        Log.e("BootBroadcastReceiver", "" + intent.getAction());
    }
}
